package edu.sandau.app.basic.vo;

import io.swagger.v3.oas.annotations.media.Schema;

@Schema(description = "创建评论请求")
public class CreateCommentRequest {
    
    @Schema(description = "订单ID", example = "0")
    private Long orderId;
    
    @Schema(description = "用户ID", example = "1")
    private Long userId;
    
    @Schema(description = "菜品ID", example = "1")
    private Long dishId;
    
    @Schema(description = "评分", example = "0", minimum = "0", maximum = "10", required = true)
    private Integer rating;
    
    @Schema(description = "评论图片", example = "string")
    private String commentImages;
    
    @Schema(description = "评论状态", example = "0", allowableValues = {"0", "1"})
    private String commentStatus;
    
    @Schema(description = "评论内容", example = "string", required = true)
    private String commentContent;
    
    public Long getOrderId() {
        return orderId;
    }
    
    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }
    
    public Integer getRating() {
        return rating;
    }
    
    public void setRating(Integer rating) {
        this.rating = rating;
    }
    
    public String getCommentImages() {
        return commentImages;
    }
    
    public void setCommentImages(String commentImages) {
        this.commentImages = commentImages;
    }
    
    public String getCommentStatus() {
        return commentStatus;
    }
    
    public void setCommentStatus(String commentStatus) {
        this.commentStatus = commentStatus;
    }
    
    public String getCommentContent() {
        return commentContent;
    }
    
    public void setCommentContent(String commentContent) {
        this.commentContent = commentContent;
    }
    
    public Long getUserId() {
        return userId;
    }
    
    public void setUserId(Long userId) {
        this.userId = userId;
    }
    
    public Long getDishId() {
        return dishId;
    }
    
    public void setDishId(Long dishId) {
        this.dishId = dishId;
    }
}
